package com.cgnpc.scp.purchase.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.bean.MyPageRequest;
import com.cgnpc.scp.common.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;

@TableName("view_close_demand")
public class ViewCLoseDemand extends MyPageRequest {
    @JsonIgnore
    // 是否已经有跟进人员  Y为是  N为否
    @TableField(exist = false)
    private String isAllocation;
    @JsonIgnore
    private String id;
    @JsonIgnore
    private String demandCode;
    @JsonIgnore
    private Integer procType;
    @JsonIgnore
    private Integer demandType;
    @JsonIgnore
    private String contractNo;
    @JsonIgnore
    private String contractName;
    @JsonIgnore
    private String projectName;
    @JsonIgnore
    private String serviceName;
    @JsonIgnore
    private String specification;
    @JsonIgnore
    private Integer num;
    @JsonIgnore
    private String unit;
    @JsonIgnore
    private String year;
    @JsonIgnore
    private String contactUser;
    @JsonIgnore
    private String mobile;
    @JsonIgnore
    private String estimateAmount;
    @JsonIgnore
    private String currency;
    @JsonIgnore
    private Date requiredArrivalTime;
    @JsonIgnore
    @TableField(exist = false)
    private Date requiredArrivalTimeStart;
    @JsonIgnore
    @TableField(exist = false)
    private Date requiredArrivalTimeEnd;
    @JsonIgnore
    private Date plannedCompletionTime;
    @JsonIgnore
    private String applyId;
    @JsonIgnore
    private String allocationId;
    @JsonIgnore
    private String createUserName;
    @JsonIgnore
    private String allocationName;
    @JsonIgnore
    private Date createTime;
    @JsonIgnore
    private String folio;
    @JsonIgnore
    private String stateId;
    @JsonIgnore
    private String processUser;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDemandCode() {
        return demandCode;
    }

    public void setDemandCode(String demandCode) {
        this.demandCode = demandCode == null ? null : demandCode.trim();
    }

    public Integer getProcType() {
        return procType;
    }

    public void setProcType(Integer procType) {
        this.procType = procType;
    }

    public Integer getDemandType() {
        return demandType;
    }

    public void setDemandType(Integer demandType) {
        this.demandType = demandType;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo == null ? null : contractNo.trim();
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName == null ? null : contractName.trim();
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName == null ? null : serviceName.trim();
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification == null ? null : specification.trim();
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getContactUser() {
        return contactUser;
    }

    public void setContactUser(String contactUser) {
        this.contactUser = contactUser == null ? null : contactUser.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getEstimateAmount() {
        return estimateAmount;
    }

    public void setEstimateAmount(String estimateAmount) {
        this.estimateAmount = estimateAmount == null ? null : estimateAmount.trim();
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    public Date getRequiredArrivalTime() {
        return DateUtil.cloneNewDate(requiredArrivalTime);
    }

    public void setRequiredArrivalTime(Date requiredArrivalTime) {
        this.requiredArrivalTime = DateUtil.cloneNewDate(requiredArrivalTime);
    }

    public Date getPlannedCompletionTime() {
        return DateUtil.cloneNewDate(plannedCompletionTime);
    }

    public void setPlannedCompletionTime(Date plannedCompletionTime) {
        this.plannedCompletionTime = DateUtil.cloneNewDate(plannedCompletionTime);
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId == null ? null : applyId.trim();
    }

    public String getAllocationName() {
        return allocationName;
    }

    public void setAllocationName(String allocationName) {
        this.allocationName = allocationName == null ? null : allocationName.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getFolio() {
        return folio;
    }

    public void setFolio(String folio) {
        this.folio = folio == null ? null : folio.trim();
    }

    public String getIsAllocation() {
        return isAllocation;
    }

    public void setIsAllocation(String isAllocation) {
        this.isAllocation = isAllocation;
    }

    public Date getRequiredArrivalTimeStart() {
        return DateUtil.cloneNewDate(requiredArrivalTimeStart);
    }

    public void setRequiredArrivalTimeStart(Date requiredArrivalTimeStart) {
        this.requiredArrivalTimeStart = DateUtil.cloneNewDate(requiredArrivalTimeStart);
    }

    public Date getRequiredArrivalTimeEnd() {
        return DateUtil.cloneNewDate(requiredArrivalTimeEnd);
    }

    public void setRequiredArrivalTimeEnd(Date requiredArrivalTimeEnd) {
        this.requiredArrivalTimeEnd = DateUtil.cloneNewDate(requiredArrivalTimeEnd);
    }

    public String getAllocationId() {
        return allocationId;
    }

    public void setAllocationId(String allocationId) {
        this.allocationId = allocationId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getStateId() {
        return stateId;
    }

    public void setStateId(String stateId) {
        this.stateId = stateId;
    }

    public String getProcessUser() {
        return processUser;
    }

    public void setProcessUser(String processUser) {
        this.processUser = processUser;
    }
}